package com.sfeir.ergosoom.common.model;


import java.io.Serializable;

public class Address implements Serializable {

    private static final long serialVersionUID = 2148217685694226874L;
    public static final int PERSONAL_ADDRESS = 0x01;
    public static final int PROFESSIONNAL_ADDRESS = 0x02;
    public static final int DEFAULT_ADDRESS = 0xFF;

    private int type = DEFAULT_ADDRESS;

    private long _id;

    private String fullValue;
    
    public Address() {
        
    }

    public Address(String fullValue, int type) {
        this.fullValue = fullValue;
        this.type = type;
    }

    public Address(String fullValue) {
        this.fullValue = fullValue;
    }

    public String toString() {
        return fullValue;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getFullValue() {
        return fullValue;
    }

    public void setFullValue(String fullValue) {
        this.fullValue = fullValue;
    }

    public long get_id() {
        return _id;
    }

    public void set_id(long _id) {
        this._id = _id;
    }

}
